import 'dart:convert';

import 'package:enterprise_v6_app/generated/json/base/json_field.dart';
import 'package:enterprise_v6_app/generated/json/get_feign_emergency_team_list_entity.g.dart';

///应急队伍列表
@JsonSerializable()
class GetFeignEmergencyTeamListEntity {
	GetFeignEmergencyTeamListEntity();

	factory GetFeignEmergencyTeamListEntity.fromJson(Map<String, dynamic> json) => $GetFeignEmergencyTeamListEntityFromJson(json);
	String? address;
	String? affiliatedUnit;
	String? annexToTheAgreement;
	String? companyCode;
	String? contactInformation;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? emergencyPointIds;
	String? establishmentTime;
	String? id;
	String? materialAttachments;
	List<GetFeignEmergencyTeamListMaterialPointDetailsList>? materialPointDetailsList;
	List<dynamic>? materialPointIdList;
	List<GetFeignEmergencyTeamListMemberList>? memberList;
	String? periodOfCooperation;
	String? responsiblePerson;
	String? teamClassification;
	String? teamClassificationName;
	String? teamName;
	int? totalNumberOfPeople;
	String? updateBy;
	String? updateById;
	String? updateDate;
  ///需要的字段
  @JSONField(deserialize: false, serialize: false)
  bool checkboxSelected = false;

	Map<String, dynamic> toJson() => $GetFeignEmergencyTeamListEntityToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetFeignEmergencyTeamListMaterialPointDetailsList {

	GetFeignEmergencyTeamListMaterialPointDetailsList();

	factory GetFeignEmergencyTeamListMaterialPointDetailsList.fromJson(Map<String, dynamic> json) => $GetFeignEmergencyTeamListMaterialPointDetailsListFromJson(json);
	String? companyCode;
	String? contactNumber;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? id;
	String? locationOfTheRegion;
	String? materialClassification;
	String? materialClassificationName;
	String? materialName;
	String? materialPhotos;
	String? materialPointId;
	String? materialPointIdName;
	String? place;
	String? purpose;
	int? quantity;
	String? responsiblePerson;
	String? transportationAndStorageRequirements;
	String? updateBy;
	String? updateById;
	String? updateDate;
	String? usageRecord;
	List<GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos>? usedRecordVos;
	String? validityPeriod;

	Map<String, dynamic> toJson() => $GetFeignEmergencyTeamListMaterialPointDetailsListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos {

	GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos();

	factory GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVos.fromJson(Map<String, dynamic> json) => $GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVosFromJson(json);
	String? date;
	int? num;

	Map<String, dynamic> toJson() => $GetFeignEmergencyTeamListMaterialPointDetailsListUsedRecordVosToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}

@JsonSerializable()
class GetFeignEmergencyTeamListMemberList {

	GetFeignEmergencyTeamListMemberList();

	factory GetFeignEmergencyTeamListMemberList.fromJson(Map<String, dynamic> json) => $GetFeignEmergencyTeamListMemberListFromJson(json);
	String? beGoodAtMajor;
	String? companyCode;
	String? createBy;
	String? createById;
	String? createDate;
	String? deleted;
	String? education;
	String? id;
	String? partTimeJob;
	String? practiceLong;
	String? teamId;
	int? teamMemberAge;
	String? teamMemberName;
	String? teamMemberPhone;
	String? teamMemberSex;
	String? teamName;
	String? technology;
	String? updateBy;
	String? updateById;
	String? updateDate;

	Map<String, dynamic> toJson() => $GetFeignEmergencyTeamListMemberListToJson(this);

	@override
	String toString() {
		return jsonEncode(this);
	}
}
